package com.hsq.ndmall.wx.feign.index;

import com.hsq.ndmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName MallFeign.java
 * @Description TODO
 * @createTime 2021年08月13日 01:11:00
 */
@FeignClient(value = "mall-service")
public interface MallFeign {
    @GetMapping("/mall/topic/list")
    R listTopic(@RequestParam Map<String, Object> params);
}
